﻿namespace EndlessDownloader.Engine
{
    public class Picture
    {
        public int DownloadIndex { get; set; }

        public string Url { get; set; }

        public string SavePath { get; set; }

        public string FileName { get; set; }

        public int SuperNumber
        {
            get { return (DownloadIndex - 1) / 300; }
        }

        public int Number
        {
            get { return (DownloadIndex - 1) % 300 + 1; }
        }
    }
}